package itcast.dao;

import itcast.domain.Repair;

import java.util.List;

public interface RepairDao {
    //添加报修数据
//    void addrepair(Repair repair);

    void addrepair(String repair_date, String student_username, String student_name, String build_name, String drom_name, String repair_remark);

    //查找维修数据
    List<Repair> findrepair();

    //学生根据学号查找自身数据
    public List<Repair>findRepairStudent_username(String student_username);

    //根据报修id删除报修数据
    void delrepair(int notice_id);
}
